package week05;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author edward
 * @since 2021-07-20
 */
@Configuration
@ComponentScan // 扫描当前 package
public class AppConfig {

    @Bean("resInAppConfig")
    public LexicalResource lexicalResource() {
        return new LexicalResource();
    }
}
